package cc.wfu.feign.client;

import cc.common.types.entity.ProductActivityEntity;
import cc.common.types.response.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: jia-qiang ljq1024.cc
 * @desc: 商品相关
 * @Date: 2024-06-05-23:24
 */
@FeignClient("el-emporium-product-service")
public interface ProductFeignClient {

    /** 通过用户名【email】查询用户信息 */
    @GetMapping("/api/v1/product/query/info/{productId}")
    Response<ProductActivityEntity> queryProductByProductId(@PathVariable("productId") Long productId);
}
